<template>
    <div id="home">
        <router-view/>
        <bottom-nav></bottom-nav>
    </div>
</template>
<script>
    import bottomNav from "@/components/bottom-nav/bottom-nav.vue";
    import {getToken} from "@/utils/utils";

    export default {
        name: "home",
        components: {
            bottomNav
        },
        created() {
            // if (getToken()) {

            // } else {
            //     this.$router.push('/login')
            // }
        }
    };
</script>
<style lang="less" scoped>
</style>
